<?php
namespace app\model\admin\calendar2;

use laytp\BaseModel;

class Calendar2GrabContent extends BaseModel
{
    protected $name = 'calendar2_grab_content';

    public function oneModule(){
        return $this->hasOne("Calendar2Module","id","module_id");
    }

    public function oneLabel(){
        return $this->hasOne("Calendar2Label","id","label_id");
    }
}